<template>
    <view class="page">
        <navHead :datas="headData"></navHead>
        <view class="head">
            <image class="userImg" :src="dataInfo.img" >
            </image>
        </view>
        <view class="content  pd-30">
            <view class="text bd-r40 pd-20 fw-800 ft-28">

                <h2>规则说明</h2>
            </view>
            <u-button type="primary" text="我知道了" color="#333333"></u-button>
        </view>

    </view>


</template>
<script setup lang="js">
import { ref, reactive, onMounted, nextTick } from "vue";
import { utils } from "@/utils/utils.js";
import { api } from "@/utils/api.js";
import navHead from '@/components/navHead.vue';
import { onLoad } from "@dcloudio/uni-app";
const headData = reactive({
    color: '#fff',
    title: '规则说明'
})
const dataInfo = ref({})
onMounted(() => {
    // getShareReduceListFun()

})


// 返回键
const goBack = () => {
    uni.navigateBack(-1)
}
//获取分享减免规则
const getShareReduceListFun = () => {

    utils
        .request(
            api.getShareReduceList,
            {
                page: 1,
                pageSize: 10,
                type: activsub.value,
                app_id: utils.app_id,
                identity: utils.identity,
            },
            "get"
        )
        .then((res) => {
            // benefitShareList.value = res.data.items;
            console.log(res, "res>>>>>>>>>>>");

        });
};
onLoad((option) => {
    dataInfo.value = option.data
})


</script>

<style lang="scss" scoped>
.page {
    border-top: 2rpx solid #F1F1F1;
}

.head {
    width: 100%;
    padding: 30rpx 0;
    text-align: center;

    .userImg {
        width: 690rpx;
        height: 332rpx;
    }
}

.content {
    width: 100%;

    .text {
        width: 690rpx;
        min-height: 770rpx;

        margin: 30rpx auto;
        background-color: #F8F8F8;

    }
}
</style>